package com.ciko.code.http.Req;


import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;

/**
 * Created by ciko on 2015/12/10.
 */
public class AddLeaveFlowReq extends BaseRequest {

        public AddLeaveFlowReq(String leaveType, Integer ifAdd, Long startTime, Long endTime, Double leaveDays, String leaveReason, String imgUrl, Integer nextUserId, String nextUserName) {
        init();
        put("leaveType", leaveType);
        put("ifAdd", ifAdd);
        put("startTime", startTime);
        put("endTime", endTime);
        put("leaveDays", leaveDays);
        put("leaveReason", leaveReason);
        put("imgUrl", imgUrl);
        put("nextUserId",nextUserId);
        put("nextUserName",nextUserName);
        putCid();
    }

    @Override
    public String getUrl() {
        return Api.addLeaveFlow;
    }

    @Override
    public Class<?> getResponseClazz() {
        return AddLeaveFlowRes.class;
    }
}
